package china.song314.testcode;

import java.util.Iterator;
import java.util.LinkedList;

public class TestNoRepeatList {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		LinkedList<String> list= new LinkedList<String>();

		list.add("A");
		list.add("B");
		list.add("C");
		
		for (Iterator<String> iterator = list.iterator(); iterator.hasNext();) {
			String string = iterator.next();
			System.out.println(" s = " + string);
		}

	}
	
	public static class NoRepeatLinkedList {
		private LinkedList mList = new LinkedList();
	}

}
